﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("Employee")]
    public class Employee: ModelAudit
    {

        [Key]
        public int EmployeeId { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
         public string Code { get; set; }
         /// <summary>
         /// 姓名
         /// </summary>
        public string EmployeeName {  get; set; }
        
        /// <summary>
        /// 密码
        /// </summary>
         public string EmployeePwd { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
         public int Num { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
         public DateTime EmployeeDate { get; set; }=DateTime.Now;

        /// <summary>
        /// 图片
        /// </summary>
         public string EmployeeImg {  get; set; }
        /// <summary>
        /// 1男，2女】
        /// </summary>
        public int Sex { get; set; } = 1;

        public int StatusId { get; set; }
        /// <summary>
        /// 【true成功，false未成功】
        /// </summary>
        public bool IsDeleted { get; set; }=false;

    
    }
}
